[index]

NewObject Message

Syntax

on newObject
end newObject Sent to the new object

Description

The newObject message is generated whenever an object is created, copied (by pressing the Alt or Option key while dragging on the object), or pasted.

Examples

Add the following handler to a card to display a message whenever a new object is created on the card: on newObject put "A new object has been created."
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.